package com.example.lotterytest.entity;

import lombok.Data;


@Data
public class Award {

    private int id;
    private String describe;
    private int count;

    public Award() {}

    public Award(int id, String describe, int count) {
        this.id = id;
        this.describe = describe;
        this.count = count;
    }

    public void decrementCount() {
        count--;
    }
}
